package org.dromara.business.domain.bo;

import org.dromara.business.domain.UserSkinInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 用户主页皮肤配置业务对象 t_user_skin_info
 *
 * @author Hao Tong Xue
 * @date 2025-06-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UserSkinInfo.class, reverseConvertGenerate = false)
public class UserSkinInfoBo extends BaseEntity {

    /**
     * 皮肤ID
     */
    @NotNull(message = "皮肤ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 皮肤名称
     */
    @NotBlank(message = "皮肤名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String skinName;

    /**
     * 是否免费
     */
//    @NotNull(message = "是否免费不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long isFree;

    /**
     * 皮肤图片
     */
    @NotNull(message = "皮肤图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long skinFileId;

    /**
     * 皮肤类型
     */
    private Long skinType;

    /**
     * 备注
     */
    private String remark;


}
